import os
import sys


for root,dirs,files in os.walk('.'):
    if len(dirs)>0:
        for d in dirs:
            p=root+ os.path.sep+ d
            fn=p+os.path.sep+'README.md'
            if  os.path.isdir(p) and  not os.path.exists(fn):
                with open(fn,'w') as fp:
                    fp.write('README')



